package com.ruoyi.word.service;


import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.common.domain.word.CommonWord;
import com.ruoyi.common.domain.word.CommonWordSentence;
import com.ruoyi.common.domain.word.vo.CommonWordSentenceVO;

import java.util.List;
import java.util.Map;

public interface ICommonWordSentenceService {

    int saveOrUpdate(CommonWordSentenceVO record, LoginUser user);

    int saveCommonWordSen(CommonWord word, List<CommonWordSentence> sentences);

    boolean existsBySubjectId(Long subId);

    List<Map> countBySid(Long subId);

    int save(CommonWordSentence sentence);

    List<CommonWordSentence> findExSentence(Long wid);
}
